# GNUmakefile - Linux makefile for blacc
#
# last tested with G++ 4.6.3

CC		= g++
CPPFLAGS	= -std=c++0x -lintl
OBJS    	= main.o common.o microsoft.o globals.o file.o lex.o

EXENAME 	= blacc

all : $(EXENAME)

blacc : $(OBJS)
	$(CC) -o $@ $^ $(LDFLAGS)

memcheck :
	valgrind --leak-check=full ./blacc test.blc

$(OBJS) : common.h
